package com.xy.servicelpml;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xy.bean.User;
import com.xy.mapper.UserMapperDao;
import com.xy.service.UserService;
@Service
public class UserServicelpml implements UserService {

	@Resource
	private UserMapperDao userMapperDao;
	
	@Override
	public int getCountByName(User user) {
		return userMapperDao.getCountByName(user);
	}

}
